package cn.topcodes.tcsf.admin.domain.entity;

import cn.topcodes.tcsf.admin.commons.domain.IdEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * 菜单权限关联
 * @author unicorn
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Table(name = "t_sys_menu_permission_rela")
public class SysMenuPermRela extends IdEntity {

    private static final long serialVersionUID = 1L;

    /*权限id*/
    @Column(name = "perm_id")
    private Long permId;

    /*菜单id*/
    @Column(name = "menu_id")
    private Long menuId;

}